package com.guopiao.vat.common.general.response;

import com.fasterxml.jackson.annotation.JsonProperty;

import java.util.List;

/**
 * @author linqy
 * @date 2018/7/12 21:31
 */
public class PageResultModel<T>
{
	@JsonProperty(value = "pageSize")
	private int pageSize;
	@JsonProperty(value = "currentPage")
	private int currentPage;
	@JsonProperty(value = "count")
	private int count;
	@JsonProperty(value = "list")
	private List<T> list = null;

	public int getPageSize()
	{
		return pageSize;
	}

	public void setPageSize(int pageSize)
	{
		this.pageSize = pageSize;
	}

	public int getCurrentPage()
	{
		return currentPage;
	}

	public void setCurrentPage(int currentPage)
	{
		this.currentPage = currentPage;
	}

	public int getCount()
	{
		return count;
	}

	public void setCount(int count)
	{
		this.count = count;
	}

	public List<T> getList()
	{
		return list;
	}

	public void setList(List<T> list)
	{
		this.list = list;
	}
}
